package com.ruoyi.chargepile.domain.enums;

/**
 * @program: ruoyi
 * @description: 角色枚举类
 * @author: XINGchi0130
 * @create: 2024-07-08 08:45
 **/
public enum RolesEnum {

    ADMIN("admin", "超级管理员"),
    ADMINISTRATOR("administrator", "管理员"),
    COMMON("common", "普通角色");


    private final String code;
    private final String info;

    RolesEnum(String code, String msg) {
        this.code = code;
        this.info = msg;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
